package com.accp.demo.pojo.purchase;

import java.io.Serializable;

import com.accp.demo.pojo.base.Material;

/**
 * 采购入库详表
 * @author Administrator
 *
 */
public class PurchaseInstorageDetail implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3521623354006908625L;
	private Integer lineId;								//行号
	private String billNo;		//采购入库主表单据号码 外键（关联入库表）
	private Material material;								//物料编号
	private String materialSize;						//规格型号
	private String unitName;							//单位
	private Integer quantity;							//数量
	private Double discountPrice;						//折扣前单价
	private Double discountNumber;						//折数
	private Double price;								//单价
	private Integer tolamount;							//总金额
	private Double taxRate;								//税率
	private Double taxamount;							//税额
	private Double tolamountAndTax;						//含税总金额
	private Integer isGift;								//是否是赠品
	private String note;								//备注
	private Integer orderForm;							//来源单别
	private String orderNoForm;							//来源单号
	private Double apportion;							//分摊费用
	
	
	public String getMaterialSize() {
		return materialSize;
	}
	public void setMaterialSize(String materialSize) {
		this.materialSize = materialSize;
	}
	public String getUnitName() {
		return unitName;
	}
	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}
	public Integer getLineId() {
		return lineId;
	}
	public void setLineId(Integer lineId) {
		this.lineId = lineId;
	}
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	
	public Double getDiscountPrice() {
		return discountPrice;
	}
	public void setDiscountPrice(Double discountPrice) {
		this.discountPrice = discountPrice;
	}
	public Double getDiscountNumber() {
		return discountNumber;
	}
	public void setDiscountNumber(Double discountNumber) {
		this.discountNumber = discountNumber;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getTolamount() {
		return tolamount;
	}
	public void setTolamount(Integer tolamount) {
		this.tolamount = tolamount;
	}
	public Double getTaxRate() {
		return taxRate;
	}
	public void setTaxRate(Double taxRate) {
		this.taxRate = taxRate;
	}
	public Double getTaxamount() {
		return taxamount;
	}
	public void setTaxamount(Double taxamount) {
		this.taxamount = taxamount;
	}
	public Double getTolamountAndTax() {
		return tolamountAndTax;
	}
	public void setTolamountAndTax(Double tolamountAndTax) {
		this.tolamountAndTax = tolamountAndTax;
	}
	public Integer getIsGift() {
		return isGift;
	}
	public void setIsGift(Integer isGift) {
		this.isGift = isGift;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Integer getOrderForm() {
		return orderForm;
	}
	public void setOrderForm(Integer orderForm) {
		this.orderForm = orderForm;
	}
	public String getOrderNoForm() {
		return orderNoForm;
	}
	public void setOrderNoForm(String orderNoForm) {
		this.orderNoForm = orderNoForm;
	}
	public Double getApportion() {
		return apportion;
	}
	public void setApportion(Double apportion) {
		this.apportion = apportion;
	}
	
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public PurchaseInstorageDetail() {
		super();
	}
	public Material getMaterial() {
		return material;
	}
	public void setMaterial(Material material) {
		this.material = material;
	}
	public PurchaseInstorageDetail(Integer lineId, String billNo, Material material, String materialSize,
			String unitName, Integer quantity, Double discountPrice, Double discountNumber, Double price,
			Integer tolamount, Double taxRate, Double taxamount, Double tolamountAndTax, Integer isGift, String note,
			Integer orderForm, String orderNoForm, Double apportion) {
		super();
		this.lineId = lineId;
		this.billNo = billNo;
		this.material = material;
		this.materialSize = materialSize;
		this.unitName = unitName;
		this.quantity = quantity;
		this.discountPrice = discountPrice;
		this.discountNumber = discountNumber;
		this.price = price;
		this.tolamount = tolamount;
		this.taxRate = taxRate;
		this.taxamount = taxamount;
		this.tolamountAndTax = tolamountAndTax;
		this.isGift = isGift;
		this.note = note;
		this.orderForm = orderForm;
		this.orderNoForm = orderNoForm;
		this.apportion = apportion;
	}
	@Override
	public String toString() {
		return "PurchaseInstorageDetail [lineId=" + lineId + ", billNo=" + billNo + ", material=" + material
				+ ", materialSize=" + materialSize + ", unitName=" + unitName + ", quantity=" + quantity
				+ ", discountPrice=" + discountPrice + ", discountNumber=" + discountNumber + ", price=" + price
				+ ", tolamount=" + tolamount + ", taxRate=" + taxRate + ", taxamount=" + taxamount
				+ ", tolamountAndTax=" + tolamountAndTax + ", isGift=" + isGift + ", note=" + note + ", orderForm="
				+ orderForm + ", orderNoForm=" + orderNoForm + ", apportion=" + apportion + "]";
	}

	
	
	
}
